package com.shop.loan.model.entity;

import lombok.Data;

import java.util.Date;

@Data
public class UserAuthLogByMybatis {
    /**
     *
     */
    private Long id;

    /**
     * 授权流程id
     */
    private String authFlowId;

    /**
     * 身份证名称
     */
    private String cardName;

    /**
     * 身份证号码
     */
    private String cardNum;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 身份证地址
     */
    private String idCardAddress;

    /**
     * 身份证反面照片
     */
    private String idCardPicBack;

    /**
     * 身份证正面照片
     */
    private String idCardPicFront;

    /**
     * 成功时间
     */
    private Date successTime;

    /**
     *
     */
    private Long userId;

    /**
     * 正面ocr结果
     */
    private String ocrInfoByFront;

    /**
     * 反面ocr结果
     */
    private String ocrInfoByBack;

    /**
     * 认证url
     */
    private String authUrl;

    private String facePhoto;

    public UserAuthLogByMybatis(Long id, String authFlowId, String cardName, String cardNum, Date createTime, String idCardAddress, String idCardPicBack, String idCardPicFront,
                                Date successTime, Long userId, String ocrInfoByFront, String ocrInfoByBack, String facePhoto) {
        this.id = id;
        this.authFlowId = authFlowId;
        this.cardName = cardName;
        this.cardNum = cardNum;
        this.createTime = createTime;
        this.idCardAddress = idCardAddress;
        this.idCardPicBack = idCardPicBack;
        this.idCardPicFront = idCardPicFront;
        this.successTime = successTime;
        this.userId = userId;
        this.ocrInfoByFront = ocrInfoByFront;
        this.ocrInfoByBack = ocrInfoByBack;
        this.facePhoto = facePhoto;
    }

    public UserAuthLogByMybatis(Long id, String authFlowId, String cardName, String cardNum, Date createTime, String idCardAddress, String idCardPicBack, String idCardPicFront,
                                Date successTime, Long userId, String ocrInfoByFront, String ocrInfoByBack, String facePhoto, String authUrl) {
        this.id = id;
        this.authFlowId = authFlowId;
        this.cardName = cardName;
        this.cardNum = cardNum;
        this.createTime = createTime;
        this.idCardAddress = idCardAddress;
        this.idCardPicBack = idCardPicBack;
        this.idCardPicFront = idCardPicFront;
        this.successTime = successTime;
        this.userId = userId;
        this.ocrInfoByFront = ocrInfoByFront;
        this.ocrInfoByBack = ocrInfoByBack;
        this.facePhoto = facePhoto;
        this.authUrl = authUrl;
    }

    public UserAuthLogByMybatis() {
        super();
    }

    /**
     * 获取
     *
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取授权流程id
     *
     * @return auth_flow_id 授权流程id
     */
    public String getAuthFlowId() {
        return authFlowId;
    }

    /**
     * 设置授权流程id
     *
     * @param authFlowId 授权流程id
     */
    public void setAuthFlowId(String authFlowId) {
        this.authFlowId = authFlowId == null ? null : authFlowId.trim();
    }

    /**
     * 获取身份证名称
     *
     * @return card_name 身份证名称
     */
    public String getCardName() {
        return cardName;
    }

    /**
     * 设置身份证名称
     *
     * @param cardName 身份证名称
     */
    public void setCardName(String cardName) {
        this.cardName = cardName == null ? null : cardName.trim();
    }

    /**
     * 获取身份证号码
     *
     * @return card_num 身份证号码
     */
    public String getCardNum() {
        return cardNum;
    }

    /**
     * 设置身份证号码
     *
     * @param cardNum 身份证号码
     */
    public void setCardNum(String cardNum) {
        this.cardNum = cardNum == null ? null : cardNum.trim();
    }

    /**
     * 获取创建时间
     *
     * @return create_time 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取身份证地址
     *
     * @return id_card_address 身份证地址
     */
    public String getIdCardAddress() {
        return idCardAddress;
    }

    /**
     * 设置身份证地址
     *
     * @param idCardAddress 身份证地址
     */
    public void setIdCardAddress(String idCardAddress) {
        this.idCardAddress = idCardAddress == null ? null : idCardAddress.trim();
    }

    /**
     * 获取身份证反面照片
     *
     * @return id_card_pic_back 身份证反面照片
     */
    public String getIdCardPicBack() {
        return idCardPicBack;
    }

    /**
     * 设置身份证反面照片
     *
     * @param idCardPicBack 身份证反面照片
     */
    public void setIdCardPicBack(String idCardPicBack) {
        this.idCardPicBack = idCardPicBack == null ? null : idCardPicBack.trim();
    }

    /**
     * 获取身份证正面照片
     *
     * @return id_card_pic_front 身份证正面照片
     */
    public String getIdCardPicFront() {
        return idCardPicFront;
    }

    /**
     * 设置身份证正面照片
     *
     * @param idCardPicFront 身份证正面照片
     */
    public void setIdCardPicFront(String idCardPicFront) {
        this.idCardPicFront = idCardPicFront == null ? null : idCardPicFront.trim();
    }

    /**
     * 获取成功时间
     *
     * @return success_time 成功时间
     */
    public Date getSuccessTime() {
        return successTime;
    }

    /**
     * 设置成功时间
     *
     * @param successTime 成功时间
     */
    public void setSuccessTime(Date successTime) {
        this.successTime = successTime;
    }

    /**
     * 获取
     *
     * @return user_id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     *
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取正面ocr结果
     *
     * @return ocr_info_by_front 正面ocr结果
     */
    public String getOcrInfoByFront() {
        return ocrInfoByFront;
    }

    /**
     * 设置正面ocr结果
     *
     * @param ocrInfoByFront 正面ocr结果
     */
    public void setOcrInfoByFront(String ocrInfoByFront) {
        this.ocrInfoByFront = ocrInfoByFront == null ? null : ocrInfoByFront.trim();
    }

    /**
     * 获取反面ocr结果
     *
     * @return ocr_info_by_back 反面ocr结果
     */
    public String getOcrInfoByBack() {
        return ocrInfoByBack;
    }

    /**
     * 设置反面ocr结果
     *
     * @param ocrInfoByBack 反面ocr结果
     */
    public void setOcrInfoByBack(String ocrInfoByBack) {
        this.ocrInfoByBack = ocrInfoByBack == null ? null : ocrInfoByBack.trim();
    }

    /**
     * 获取认证url
     *
     * @return auth_url 认证url
     */
    public String getAuthUrl() {
        return authUrl;
    }

    /**
     * 设置认证url
     *
     * @param authUrl 认证url
     */
    public void setAuthUrl(String authUrl) {
        this.authUrl = authUrl == null ? null : authUrl.trim();
    }
}